#ifndef _DATA_INTERFACE_H_
#define _DATA_INTERFACE_H
#include "usr_xdma.h"

extern void *generate_share_memory(xdma_usr_dev *dev,int *shmid,int channel_number);
extern int destroy_share_memory(const void *shmaddr,int shmid);
extern int generate_msg_queue(xdma_usr_dev *dev, int channel_number);
extern int destroy_msg_queue(int msg_id);
extern int snd_block_id(xdma_usr_dev *dev, uint32_t block_id, uint32_t block_type,int channel_num);
extern int rcv_block_id(xdma_usr_dev *dev,int channel_num);

#endif
